@import "vars";

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  -webkit-text-size-adjust: none;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  font-family: $--font-family;
  line-height: $--line-height-normal;
  background: $--background;
  color: $--color-primary-text;
  overflow: hidden;
}

html {
  font-size: $--base;
}


body {
  line-height: $--line-height-normal;
  background: $--background;
  color: $--color-primary-text;
}

body::-webkit-scrollbar-thumb, div::-webkit-scrollbar-thumb {
  background-color: #00000045;
}
.my-master-app {
  overflow: hidden;
}
a {
  text-decoration: none;
  color: $--link-color;

  &:hover {
    text-decoration: none;
    color: $--link-hover-color;
  }
}

.clearfix:before,
.clearfix:after {
  content: " ";
  display: table;
}
.clearfix:after {
  clear: both;
}

.my-link {
  text-decoration: none;
  cursor: pointer;
  color: #a1d0d8;

  &+& {
    margin-left: 8px;
  }

  &:hover, &:active {
    color: #5cc4e5;
  }
}

.app-master {
  min-height: 100%;
  height: 100%;
  overflow: auto;
  position: relative;
}

.col-basic {
  color: #000000;
  background: #a3a2e826;
}

.col-important {
  color: #f74e57;
  background: #ff848414;
  font-weight: bold;
}

.flex-row {
  display: flex;
  flex-wrap: wrap;
}
.flex-cc {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.BMap_cpyCtrl , .anchorBL{
  display: none !important;
}


  /* table begin*/
.el-table th {
  color: #2d4a84;
  background: linear-gradient(to bottom,#F9F9F9 0,#efefef 100%);
}
.common-bg {
  background: rgba(0,0,0, .1);
  box-shadow: 1px 1px 8px rgba(0,0,0, .7);
  border-radius: 3px;
}

.is-en {
  .waterfall-head-txt {
      font-size: 33px !important;
      line-height: 33px !important;
      top: 5px !important;
  }
  .card-name {
    font-size: 13px !important;
  }
  .site-wrapper.site-page--login .side-header-title{
    top: 0px;
    font-size: 34px;
  }
}
.warning-row {
  background-color: rgba(255, 140, 0, 0.4) !important;
}
.dark-table.my-table td ,
.el-table--striped .el-table__body tr.el-table__row--striped td{
  &.yellow-col {
    background-color: #FF0 !important;
    color: #333 !important;
  }
  &.red-col {
    background-color: #F00 !important;
  }
}

/* 深色表格 */
.dark-table {
  &.my-table {
    background-color: transparent;

    .el-table--border, .el-table--group {
      border: 1px solid #1b446d;
    }
    .el-table {
      background-color: transparent;
      th {
        background: #103d5c;
        color: #FFF;
      }
      tr {
        background: #093352;
        color: #FFF;
      }
    }
    .el-table td, .el-table th.is-leaf {
      border-bottom: 1px solid #1b446d;
    }
    .el-table--border td, .el-table--border th {
      border-right: 1px solid #1b446d;
    }
    .el-table--border:after, .el-table--group:after, .el-table:before {
      background-color: #1b446d;
    }
    .el-table__row--striped td {
      background: rgba(0,0,0,.4)!important;
    }
    .el-table--enable-row-hover .el-table__body tr:hover>td, .el-table__body tr.hover-row>td {
      background-color: rgba(0,0,0, .2)
    }
    .el-pagination.is-background .btn-next, .el-pagination.is-background .btn-prev, .el-pagination.is-background .el-pager li{
      color: #FFF;
    }
    .el-pagination__total {
      color: #FFF;
    }
  }
}
